package com.qys.livesMall.open.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qys.livesMall.framework.view.BaseQuery;
import com.qys.livesMall.open.modal.dto.app.OpenSysMessagePageDTO;
import com.qys.livesMall.open.modal.entity.H2OpenSysMessage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qys.livesMall.open.modal.vo.OpenSysMessageVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 系统信息 Mapper 接口
 * </p>
 *
 * @author wzy
 * @since 2023-07-11
 */
public interface H2OpenSysMessageMapper extends BaseMapper<H2OpenSysMessage> {

    List<OpenSysMessageVo> list(Page<OpenSysMessageVo> page,@Param("userid") Long userid);

    OpenSysMessageVo getSysMessage(@Param("userid") Long userId,@Param("id") Long id);

    List<OpenSysMessageVo> messageBySys();
}
